<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>


<div class="t_bar">资金信息（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="budget1"
	cellspacing="1">
	<tr>
		<td   align="right" width="20%">实际完成投资总额：</td>
		<td width="30%" align="center"><x:out select="$xmlData/data/budgets/input_total" /></td>
		<td align="right" width="20%">申请金额：</td>
		<td width="30%" align="center"><x:out select="$xmlData/data/budgets/apply_money" /></td>
	</tr>
	</table>
	<br/>
	<div class="t_bar">实际完成投资来源（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="budget1"
	cellspacing="1">
	<tr align="center" class="li_2">
		<td rowspan="2" width="15%">自有资金</td>
		<td rowspan="2" width="15%">银行贷款</td>
		<td colspan="4" width="55%">已获政府资助</td>
		<td rowspan="2" width="15%">其他资金</td>
	</tr>
	<tr align="center" class="li_2">
		<td width="10%">国家</td>
		<td width="10%">省级</td>
		<td width="10%">市级</td>
		<td width="10%">区级</td>
	</tr>
	<tr align="center" class="li_1">
		<td>&nbsp;<x:out select="$xmlData/data/budgets/own_fund_over" /></td>
		<td>&nbsp;<x:out select="$xmlData/data/budgets/bank_fund_total" /></td>
		<td>&nbsp;<x:out select="$xmlData/data/budgets/country_fund_over" /></td>
		<td>&nbsp;<x:out select="$xmlData/data/budgets/provincial_fund_over" /></td>
		<td>&nbsp;<x:out select="$xmlData/data/budgets/city_fund_over" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budgets/area_fund_over" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budgets/other_fund_over" /></td>
	</tr>

</table>
<br/>
<div class="t_bar">项目投资支出情况（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1">

	<tr>
		<td class="TblHead" align="center" width="40%" >支出科目</td>
		<td class="TblHead" align="center" width="30%">实际支出金额</td>
		<td class="TblHead" align="center" width="30%">实际支出金额</td>
	</tr>
	<x:forEach select="$xmlData/data/budget/invest_detail/invest" var="invest">
	<tr>
		<td align="left" style="padding-left: 20px">&nbsp;<x:out select="$invest/name"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_total"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_allot"/></td>
	</tr>
</x:forEach>
</table>
<br/>
<div class="t_bar">附表1：设备及软件清单明细表</div>
<table  id="tblEuipmentLists" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="4%">序号</th>
						<th class="TblHead" align="center"  width="8%">年度</th> 
						<th class="TblHead" align="center"  width="8%">设备或软件名称</th> 
				        <th class="TblHead" align="center"  width="8%">单价<br/>（万元/台件）</th> 
						<th class="TblHead" align="center"  width="8%">数量<br/>（台件）</th>
						<th class="TblHead" align="center"  width="8%">总价<br/>（万元）</th>
						<th class="TblHead" align="center"  width="8%">型号</th>  
						<th class="TblHead" align="center"  width="9%">生产国别<br/>（地区）</th>
						<th class="TblHead" align="center"  width="8%">发票号码</th>   
						<th class="TblHead" align="center"  width="11%">日期</th>   
						<th class="TblHead" align="center"  width="8%">用途</th>     
						<th class="TblHead" align="center"  width="8%">备注</th>         
					</tr>
			</thead>
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/euipments/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<span name="euipments/list[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td>
							<x:out select="$list/year" />
						</td>
						<td>
							<x:out select="$list/name" />
						</td>
						
						<td >
							<x:out select="$list/price" />
						</td> 
						<td >
							<x:out select="$list/amount" />
						</td>
						<td >
							<x:out select="$list/money" />
						</td> 
						
						<td>
							<x:out select="$list/model" />
						</td>
						<td>
							<x:out select="$list/country_name" />
						</td>
						<td>
							<x:out select="$list/invoice_number" />
						</td>
						<td align="center" nowrap><x:out select="$list/start_date"/>
						</td>
						<td>
							<x:out select="$list/user_desc" />
						</td> 
						<td>
							<x:out select="$list/remark" />
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
					</table>
					<table   cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;" id="fundremark">
					<tr align="center">
					<td colspan="4" width="20%">合计</td>
					<td width="8%">/</td>
					<td width="8%"><x:out select="$xmlData/data/euipments_list/amount3" /></td>
					<td width="8%"><x:out select="$xmlData/data/euipments_list/money3" /></td>
					<td width="8%">/</td>
					<td width="9%">/</td>
					<td width="8%">/</td>
					<td width="11%">/</td>
					<td width="8%">/</td>
					<td width="8%"><x:out select="$xmlData/data/euipments_list/remark3" /></td>
					</tr>
					</table>
